@extends('layouts.base')

@section('content')
<div class="content">
    <form method="POST">
        {{ csrf_field() }}
        <table>
            <tbody>
                <tr>
                    <td>用户名</td>
                    <td><input type="text" name="name" value="{{ old('name') }}"></td>
                    <td>{{ $errors->first('name') }}</td>
                </tr>
                <tr>
                    <td>邮箱</td>
                    <td><input type="email" name="email" value="{{ old('email') }}"></td>
                    <td>{{ $errors->first('email') }}</td>
                </tr>
                <tr>
                    <td>密码</td>
                    <td><input type="password" name="password"></td>
                    <td>{{ $errors->first('password') }}</td>
                </tr>
                <tr>
                    <td>确认密码</td>
                    <td><input type="password" name="password_confirmation"></td>
                    <td>{{ $errors->first('confirm_password') }}</td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" value="注册"></td>
                </tr>
            </tbody>
        </table>
    </form>
</div>
@endsection
